<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>图片边框</title>
<style type="text/css">
p{
 width:362px;
 height:362px;
 border-style:solid;
 border-image-source:url(3.png);
 border-image-slice:33%;
 border-image-width:40px;
 border-image-outset:0;
 border-image-repeat:repeat;
}
</style>
</head>

<body>
<img src="file:///C|/Users/licaiyun/Desktop/微信图片_20210329132545.png"
</body>
</html>
